<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:locify="http://client.locify.com/locify_ns/1.0" xml:lang="en" lang="en">
<IF:nearest>
	<head>
   		<title>Show nearest caches</title>
	</head>
	<body class="form">
    	<form action="%SERVICE_URL%" method="post">
      		<locify:variables>
				<locify:element name="lat" value="$lat" />
				<locify:element name="lon" value="$lon" />
				<locify:element name="gc_user_name" value="$settings[gc_user_name]" />
				<locify:element name="gc_password" value="$settings[gc_password]" />
			</locify:variables>
			<fieldset>
				<locify:where />
				<input type="hidden" name="lat" value="" />
				<input type="hidden" name="lon" value="" />
				<input type="hidden" name="gc_user_name" value="" />
				<input type="hidden" name="gc_password" value="" />
				<input type="hidden" name="_state" value="nearest" />
				<input type="hidden" name="_type" value="latlon" />
				<input type="submit" name="submit_oso" value="Show nearest" /><br />
				<label>Show on Map:
				<select name="map" locify:selected="1">
					<option value="0">No</option>
            		<option value="1">Yes</option>
          		</select>
				</label>
				<label>Hide found:
          		<select name="shide" locify:selected="1">
            		<option value="1">Yes</option>
            		<option value="0">No</option>
          		</select>
          		</label>
			</fieldset>
		<form>
	</body>
</IF:nearest>
<IF:keyword>
	<head>
   		<title>Search by keyword</title>
	</head>
	<body class="form">
    	<form action="%SERVICE_URL%" method="post">
      		<locify:variables>
				<locify:element name="gc_user_name" value="$settings[gc_user_name]" />
				<locify:element name="gc_password" value="$settings[gc_password]" />
			</locify:variables>
			<fieldset>
				<input type="hidden" name="gc_user_name" value="" />
				<input type="hidden" name="gc_password" value="" />
				<input type="hidden" name="_state" value="nearest" />
				<input type="hidden" name="_type" value="oso" />
				<input type="hidden" name="oso" value="key" />
				<label>Keyword:
          			<input type="text" name="oso_value" value="" />
          		</label><br />	
				<input type="submit" name="submit_oso" value="Show" /><br />
				<label>Hide found:
          		<select name="shide" locify:selected="1">
            		<option value="1">Yes</option>
            		<option value="0">No</option>
          		</select>
          		</label>
			</fieldset>
		<form>
	</body>
</IF:keyword>
<IF:address>
	<head>
   		<title>Search by address</title>
	</head>
	<body class="form">
    	<form action="%SERVICE_URL%" method="post">
      		<locify:variables>
				<locify:element name="gc_user_name" value="$settings[gc_user_name]" />
				<locify:element name="gc_password" value="$settings[gc_password]" />
			</locify:variables>
			<fieldset>
				<input type="hidden" name="gc_user_name" value="" />
				<input type="hidden" name="gc_password" value="" />
				<input type="hidden" name="_state" value="nearest" />
				<input type="hidden" name="_type" value="address" />
				<label>Address:
          			<input type="text" name="oso_value" value="" />
          		</label><br />	
				<input type="submit" name="submit_oso" value="Show" /><br />
				<label>Hide found:
          		<select name="shide" locify:selected="1">
            		<option value="1">Yes</option>
            		<option value="0">No</option>
          		</select>
          		</label>
			</fieldset>
		<form>
	</body>
</IF:address>
<IF:gccode>
	<head>
   		<title>Search by GC Code</title>
	</head>
	<body class="form">
    	<form action="%SERVICE_URL%" method="post">
      		<locify:variables>
				<locify:element name="gc_user_name" value="$settings[gc_user_name]" />
				<locify:element name="gc_password" value="$settings[gc_password]" />
			</locify:variables>
			<fieldset>
				<input type="hidden" name="gc_user_name" value="" />
				<input type="hidden" name="gc_password" value="" />
				<input type="hidden" name="_state" value="nearest" />
				<input type="hidden" name="_type" value="gccode" />
				<label>GC Code:
          			<input type="text" name="guid" value="GC" />
          		</label><br />	
				<input type="submit" name="submit_oso" value="Show" /><br />
			</fieldset>
		<form>
	</body>
</IF:gccode>

<IF:user>
	<head>
   		<title>Search by username</title>
	</head>
	<body class="form">
    	<form action="%SERVICE_URL%" method="post">
      		<locify:variables>
				<locify:element name="gc_user_name" value="$settings[gc_user_name]" />
				<locify:element name="gc_password" value="$settings[gc_password]" />
			</locify:variables>
			<fieldset>
				<input type="hidden" name="gc_user_name" value="" />
				<input type="hidden" name="gc_password" value="" />
				<input type="hidden" name="_state" value="nearest" />
				<input type="hidden" name="_type" value="oso" />
				<label>Username:
          			<input type="text" name="oso_value" value="" />
          		</label><br />	
          		<label>User:
         		<select name="oso" locify:selected="key">
            		<option value="ul">Found</option>
            		<option value="u">Hidden</option>
          		</select>
          		</label><br />
				<input type="submit" name="submit_oso" value="Show" /><br />
				<label>Hide found:
          		<select name="shide" locify:selected="0">
            		<option value="1">Yes</option>
            		<option value="0">No</option>
          		</select>
          		</label>
			</fieldset>
		<form>
	</body>
</IF:user>
</html>
